package com.wnm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wnm.pojo.Cart;

public interface CartDao {

	public Cart findByUidAndGid(@Param("userid") int userid, @Param("goodsid") int goodsid);

	public void add(Cart _cart);

	public void update(Cart cart);

	public List<Cart> findAllByUserid(int userid);

	public void deleteByUeseidAndGoodsid(@Param("userid")int userid, @Param("goodsid")int goodsid);

}
